package com.zzw.zim.common.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>项目名称: zzw-tech </p>
 * <p>包名称: com.zzw.mis.system.vo </p>
 * <p>描述: 登录日志 </p>
 * <p> 登录日志 </p>
 * <p>创建时间: 2022/11/15 10 </p>
 *
 * @author coco
 * @version v1.0
 */
@Data
@Schema(description = "登录日志")
public class SysLogLoginVO implements Serializable {

	private static final long serialVersionUID = 1L;

	@Schema(description = "id")
	private String id;

	@Schema(description = "用户名")
	private String username;

	@Schema(description = "登录IP")
	private String ip;

	@Schema(description = "登录地点")
	private String address;

	@Schema(description = "User Agent")
	private String userAgent;

	@Schema(description = "登录状态  0：失败   1：成功")
	private Integer status;

	@Schema(description = "操作信息   0：登录成功   1：退出成功  2：验证码错误  3：账号密码错误")
	private Integer operation;

	@Schema(description = "创建时间")
	private LocalDateTime createTime;
}
